package com.app.service;

import com.app.model.CategoryPhoneModel;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CategoryPhoneService {


//  Page<CategoryModel>  categoryPageList(int page,int limit,String name);//公共数据管理分页查询

    void insert(CategoryPhoneModel model);

    void update(CategoryPhoneModel model);

    void delete(int id);

    CategoryPhoneModel getCategoryPhoneById(int id);

    List<CategoryPhoneModel> getPhoneListByPid(int pid);//查询子集

    CategoryPhoneModel getCatPhoneByPidAndId(int pid, int id);

    List<CategoryPhoneModel> selectPhoneTree(String keyWord);//全查手机数据管理列表不分页

}
